<?php /* Smarty version 2.6.18, created on 2010-01-26 12:20:47
         compiled from readMessage.tpl */ ?>
<form name="mainForm" method="POST" id="mainForm">
<table class="popup" border="0" cellspacing=0 cellpadding=0>
	<tr><td><div class="pop">
		<div class="top_pop"><img src="/app/default/www/images/top_left_pop.jpg" /></div> 
		<div id="drag_bar"><h2 class="pop_h2">Read Message</h2></div>
		<div class="content">
			<table border="0" width="100%">
				<tr>
					<?php if ($this->_tpl_vars['viewType'] == 1): ?>
						<td nowrap>Send To:</td>
						<td nowrap width="100%"><?php echo $this->_tpl_vars['message'][0]['rec_name']; ?>
</td>
					<?php else: ?>
						<td nowrap>Recieved From:</td>
						<td nowrap width="100%"><?php echo $this->_tpl_vars['message'][0]['src_name']; ?>
</td>
					<?php endif; ?>
				</tr>
				<tr>
					<td>Subject:</td>
					<td nowrap><?php echo $this->_tpl_vars['message'][0]['subject']; ?>
</td>
				</tr>
				<tr>
					<td colspan="2"><textarea name="user[body]" cols="50" rows="20"><?php echo $this->_tpl_vars['message'][0]['message']; ?>
</textarea></td>
				</tr>
				<tr height="30px">
					<td colspan="2" align="center" style="padding-top: 20px">
						<input type="button" value="Close" onclick="popup('readMessage');">
					</td>
				</tr>
			</table>
		</div>
		<div class="btm_pop"><img src="/app/default/www/images/btm_left_pop.jpg"  alt="" />
	</div></td></tr>
</table>
</form>
<script language="javascript">
<?php echo '
'; ?>

</script>
	